<template>
  <div class="Hot">
    <!-- 热门 -->
    <Formgoods :formlist="formlist"></Formgoods>
    <div class="bot">到底啦</div>
  </div>
</template>

<script>
import  Formgoods from "@/components/Littlecom/Formgoods.vue";
export default {
  name: "FxhDemoHot",
   data() {
    return {
      tabid:2,
      formlist:[]
    };
  },
 async created() {
  const {data:{data}}=await this.$request("get",`/fxh/index/product/${this.tabid}`,{
    page:1,
    limit:10
  })
  this.formlist=data.list;
  console.log(data.list);
  },
  components: {
    Formgoods,
  },

  mounted() {},

  methods: {},
};
</script>

<style lang="scss" scoped>
.bot{
  margin-left: 165px;
  font-size: 13px;
  color: #aaa;
}
</style>
